<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">
	
	 <rich:tabPanel switchType="ajax">
        <rich:tab label="#{messages['messages.ala.cadastrada']}" >
        	<h:outputText value="#{messages['messages.ala.empty']}" rendered="#{empty alaAction.resultList}"/>
            <ui:include src="/pages/ala/list.xhtml" />
        </rich:tab>
        <rich:tab>
        	<f:facet name="label">
            	<h:panelGroup>
            		<h:graphicImage 
            			value="/img/onetomany.gif" 
            			style="vertical-align: middle; 
            			padding-right: 4px;"/>
            		#{messages['messages.ala.contingente']}
            	</h:panelGroup>
            </f:facet>
        </rich:tab>
    </rich:tabPanel>
	
</ui:fragment>
